package com.atguigu.guli.service.oss.util;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author dyqstart
 * @create 2021-07-06-12:42
 * @since 1.0.0
 */
@Data
@Component
@ConfigurationProperties(prefix="aliyun.oss")//注意prefix要写最有一个"."符号之前
public class OssProperties {
    private String endPoint;
    private String keyId;
    private String keySecret;
    private String bucketName;
}
